package com.opdar.plugins.mybatis.core;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by jeffrey on 2016/11/12.
 */
public interface IBaseMapper<T> {
    public int insert(T o);
    public int delete(T o);
    public int update(@Param("update") T update, @Param("where") T where);
    public T selectOne(T o);
    public List<T> selectList(T o);
    public int count(T o);
}
